﻿package core.dialog {
	
	import flash.display.MovieClip;
	import base.BaseMc
	import core.display.AlphaBg;
	
	public class DialogBluetoothDisconnect extends BaseMc {
		
		private var bg:AlphaBg;
		
		public function DialogBluetoothDisconnect() {
			
		}
		
		protected override function onInit():void {
			super.onInit();
			trace("DialogBluetoothDisconnect.onInit");
			this.bg = new AlphaBg();
			this.parent.addChild(bg);
			this.parent.swapChildren(bg,this);
			this.scale(1.5,1.5);
			this.centerOfStage();
		}
		
		protected override function onRemove():void {
			super.onRemove();
			this.parent.removeChild(bg);
		}
		
	}
	
}
